home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_076
/
include
/
graphics
/
clip.g
next >
Wrap
Text File
|
1992-05-06
|
1KB
|
51 lines
type
Rectangle_t = unknown 8,
SignalSemaphore_t = unknown 46,
Layer_t = struct {
*Layer_t l_front, l_back;
*ClipRect_t l_ClipRect;
*RastPort_t l_rp;
Rectangle_t l_bounds;
[4]byte l_reserved;
uint l_priority;
uint l_Flags;
*BitMap_t l_SuperBitMap;
*ClipRect_t l_SuperClipRect;
*Window_t l_Window;
int l_Scroll_X, l_Scroll_Y;
*ClipRect_t l_cr, l_cr2, l_crnew;
*ClipRect_t l_SuperSaveClipRects;
*ClipRect_t l__cliprects;
*Layer_Info_t l_LayerInfo;
SignalSemaphore_t l_Lock;
[8]byte l_reserved3;
*Region_t l_ClipRegion;
*Region_t l_saveClipRects;
[22]byte l_reserved2;
*Region_t l_DamageList;
},
ClipRect_t = struct {
*ClipRect_t cr_Next;
*ClipRect_t cr_prev;
*Layer_t cr_lobs;
*BitMap_t cr_BitMap;
Rectangle_t cr_bounds;
*ClipRect_t cr__p1, cr__p2;
ulong cr_reserved;
};
uint
ISLESSX = 1,
ISLESSY = 2,
ISGRTRX = 4,
ISGRTRY = 8;
extern
AttemptLockLayerRom(*Layer_t l)bool,
CopySBitMap(*Layer_t l)void,
LockLayerRom(*Layer_t layer)void,
SyncSBitMap(*Layer_t layer)void,
UnlockLayerRom(*Layer_t l)void;